//
//  BTESelectAlertViewController.swift
//  BTE
//
//  Created by Mike Zhang on 2025/8/18.
//

import UIKit




class BTESigonoutAlertViewController: BTEAlertViewController {

    let imagev = UIImageView.init(image: UIImage.init(named: "Group 11712772dddddddd73"))
    
    private let tit = UILabel()
    private let tit2 = UILabel()
    private let tit3 = UILabel()

    override func viewDidLoad() {
        super.viewDidLoad()
        
        mainv.addSubview(imagev)
        imagev.snp.makeConstraints { make in
            make.edges.equalToSuperview()
            make.height.equalTo((UIScreen.main.bounds.width - 17 - 17) * imagev.frame.height / imagev.frame.width)
        }
        
        tit.textColor = .colorWithHex("#082252")
        tit.font = .systemFont(ofSize: 18, weight: .bold)
        tit.textAlignment = .center
        tit.text = BTELanguageManager.shared.localizedString(forKey: "Sign out")
        mainv.addSubview(tit)
        tit.snp.makeConstraints { make in
            make.left.right.equalToSuperview().inset(44)
            make.top.equalToSuperview().offset(44)
        }
        
        tit2.textColor = .colorWithHex("#082252")
        tit2.font = .systemFont(ofSize: 18, weight: .regular)
        tit2.textAlignment = .center
        tit2.numberOfLines = 0
        tit2.text = BTELanguageManager.shared.localizedString(forKey: "You'll have your loan in no time! Sure you want out?")
        mainv.addSubview(tit2)
        tit2.snp.makeConstraints { make in
            make.left.right.equalToSuperview().inset(44)
            make.top.equalTo(tit.snp.bottom).offset(29)
        }
        
        tit3.textColor = .colorWithHex("#187CA5")
        tit3.font = .systemFont(ofSize: 42, weight: .bold)
        tit3.textAlignment = .center
        tit3.text = "9,600,000"
        mainv.addSubview(tit3)
        tit3.snp.makeConstraints { make in
            make.centerX.equalToSuperview()
            make.top.equalTo(tit2.snp.bottom).offset(16)
        }
        
    }


}
